export type LevelData = { column: number, data: number[] }
export type InitData = { rat: number, cats: number[] }

export type Dest = { index: number, terrain: number, target: number, direct: number }
export type CardData = { id: number, strenth: number, name: string, skill: string,
     effect: string, triggerType: any,cost:number }


export enum TurnType {
    Player = 1, Enemy = 2
}

export enum StageType {
   PlayerThiking=1, PlayerAttack = 2, EnemySelectCard = 3,EnemyAttack = 4, PlayerSelectFightCard = 5
}

export enum BelongType {
    Player = 1, Enemy = 2
}

export enum MonsterEffect {
    Point = 1, Double = 2,Hunter=3,Tank=4
}

export enum TriggerType {
    OnScene = 1, Attack = 2, Defeated
}

export enum OnSceneType {
    MeHpChange = 1, OponentHpChange = 2, MeCardChange = 3, OponentCardChange = 4, MonsterControl = 5,
    DrawCardFromMyWaste = 6, EnemyDropCard = 7, DrawAllWasteCard = 8, DrawCardFormEnemyWasteCard = 9
}
